export interface BasicPageParams {
  pageNum: number;
  pageSize: number;
}

export interface BasicFetchResult<T extends any> {
  code: number;
  msg: string;
  data: T[];
}

export interface BasicFetchInfoResult<T extends any> {
  code: number;
  msg: string;
  data: T;
}

export interface BasicFetchPageResult<T extends any> extends BasicPageParams {
  code: number;
  msg: string;
  rows?: T[];
  total: number;
}
